package com.quanyan.ic.vendingMachine.mapper.entity;

import com.quanyan.ic.common.paging.Limit;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class VmCategoryEntityExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Limit limit;

    public VmCategoryEntityExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    public void setLimit(Limit limit) {
        this.limit = limit;
    }

    public Limit getLimit() {
        return limit;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andGridXYIsNull() {
            addCriterion("grid_x_y is null");
            return (Criteria) this;
        }

        public Criteria andGridXYIsNotNull() {
            addCriterion("grid_x_y is not null");
            return (Criteria) this;
        }

        public Criteria andGridXYEqualTo(String value) {
            addCriterion("grid_x_y =", value, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYNotEqualTo(String value) {
            addCriterion("grid_x_y <>", value, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYGreaterThan(String value) {
            addCriterion("grid_x_y >", value, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYGreaterThanOrEqualTo(String value) {
            addCriterion("grid_x_y >=", value, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYLessThan(String value) {
            addCriterion("grid_x_y <", value, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYLessThanOrEqualTo(String value) {
            addCriterion("grid_x_y <=", value, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYLike(String value) {
            addCriterion("grid_x_y like", value, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYNotLike(String value) {
            addCriterion("grid_x_y not like", value, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYIn(List<String> values) {
            addCriterion("grid_x_y in", values, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYNotIn(List<String> values) {
            addCriterion("grid_x_y not in", values, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYBetween(String value1, String value2) {
            addCriterion("grid_x_y between", value1, value2, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridXYNotBetween(String value1, String value2) {
            addCriterion("grid_x_y not between", value1, value2, "gridXY");
            return (Criteria) this;
        }

        public Criteria andGridZIsNull() {
            addCriterion("grid_z is null");
            return (Criteria) this;
        }

        public Criteria andGridZIsNotNull() {
            addCriterion("grid_z is not null");
            return (Criteria) this;
        }

        public Criteria andGridZEqualTo(String value) {
            addCriterion("grid_z =", value, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZNotEqualTo(String value) {
            addCriterion("grid_z <>", value, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZGreaterThan(String value) {
            addCriterion("grid_z >", value, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZGreaterThanOrEqualTo(String value) {
            addCriterion("grid_z >=", value, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZLessThan(String value) {
            addCriterion("grid_z <", value, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZLessThanOrEqualTo(String value) {
            addCriterion("grid_z <=", value, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZLike(String value) {
            addCriterion("grid_z like", value, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZNotLike(String value) {
            addCriterion("grid_z not like", value, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZIn(List<String> values) {
            addCriterion("grid_z in", values, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZNotIn(List<String> values) {
            addCriterion("grid_z not in", values, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZBetween(String value1, String value2) {
            addCriterion("grid_z between", value1, value2, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridZNotBetween(String value1, String value2) {
            addCriterion("grid_z not between", value1, value2, "gridZ");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberIsNull() {
            addCriterion("grid_start_number is null");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberIsNotNull() {
            addCriterion("grid_start_number is not null");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberEqualTo(Byte value) {
            addCriterion("grid_start_number =", value, "gridStartNumber");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberNotEqualTo(Byte value) {
            addCriterion("grid_start_number <>", value, "gridStartNumber");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberGreaterThan(Byte value) {
            addCriterion("grid_start_number >", value, "gridStartNumber");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberGreaterThanOrEqualTo(Byte value) {
            addCriterion("grid_start_number >=", value, "gridStartNumber");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberLessThan(Byte value) {
            addCriterion("grid_start_number <", value, "gridStartNumber");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberLessThanOrEqualTo(Byte value) {
            addCriterion("grid_start_number <=", value, "gridStartNumber");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberIn(List<Byte> values) {
            addCriterion("grid_start_number in", values, "gridStartNumber");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberNotIn(List<Byte> values) {
            addCriterion("grid_start_number not in", values, "gridStartNumber");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberBetween(Byte value1, Byte value2) {
            addCriterion("grid_start_number between", value1, value2, "gridStartNumber");
            return (Criteria) this;
        }

        public Criteria andGridStartNumberNotBetween(Byte value1, Byte value2) {
            addCriterion("grid_start_number not between", value1, value2, "gridStartNumber");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlIsNull() {
            addCriterion("small_img_url is null");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlIsNotNull() {
            addCriterion("small_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlEqualTo(String value) {
            addCriterion("small_img_url =", value, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlNotEqualTo(String value) {
            addCriterion("small_img_url <>", value, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlGreaterThan(String value) {
            addCriterion("small_img_url >", value, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("small_img_url >=", value, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlLessThan(String value) {
            addCriterion("small_img_url <", value, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlLessThanOrEqualTo(String value) {
            addCriterion("small_img_url <=", value, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlLike(String value) {
            addCriterion("small_img_url like", value, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlNotLike(String value) {
            addCriterion("small_img_url not like", value, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlIn(List<String> values) {
            addCriterion("small_img_url in", values, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlNotIn(List<String> values) {
            addCriterion("small_img_url not in", values, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlBetween(String value1, String value2) {
            addCriterion("small_img_url between", value1, value2, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andSmallImgUrlNotBetween(String value1, String value2) {
            addCriterion("small_img_url not between", value1, value2, "smallImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlIsNull() {
            addCriterion("middle_img_url is null");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlIsNotNull() {
            addCriterion("middle_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlEqualTo(String value) {
            addCriterion("middle_img_url =", value, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlNotEqualTo(String value) {
            addCriterion("middle_img_url <>", value, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlGreaterThan(String value) {
            addCriterion("middle_img_url >", value, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("middle_img_url >=", value, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlLessThan(String value) {
            addCriterion("middle_img_url <", value, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlLessThanOrEqualTo(String value) {
            addCriterion("middle_img_url <=", value, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlLike(String value) {
            addCriterion("middle_img_url like", value, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlNotLike(String value) {
            addCriterion("middle_img_url not like", value, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlIn(List<String> values) {
            addCriterion("middle_img_url in", values, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlNotIn(List<String> values) {
            addCriterion("middle_img_url not in", values, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlBetween(String value1, String value2) {
            addCriterion("middle_img_url between", value1, value2, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andMiddleImgUrlNotBetween(String value1, String value2) {
            addCriterion("middle_img_url not between", value1, value2, "middleImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlIsNull() {
            addCriterion("large_img_url is null");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlIsNotNull() {
            addCriterion("large_img_url is not null");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlEqualTo(String value) {
            addCriterion("large_img_url =", value, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlNotEqualTo(String value) {
            addCriterion("large_img_url <>", value, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlGreaterThan(String value) {
            addCriterion("large_img_url >", value, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlGreaterThanOrEqualTo(String value) {
            addCriterion("large_img_url >=", value, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlLessThan(String value) {
            addCriterion("large_img_url <", value, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlLessThanOrEqualTo(String value) {
            addCriterion("large_img_url <=", value, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlLike(String value) {
            addCriterion("large_img_url like", value, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlNotLike(String value) {
            addCriterion("large_img_url not like", value, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlIn(List<String> values) {
            addCriterion("large_img_url in", values, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlNotIn(List<String> values) {
            addCriterion("large_img_url not in", values, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlBetween(String value1, String value2) {
            addCriterion("large_img_url between", value1, value2, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andLargeImgUrlNotBetween(String value1, String value2) {
            addCriterion("large_img_url not between", value1, value2, "largeImgUrl");
            return (Criteria) this;
        }

        public Criteria andIsEnableIsNull() {
            addCriterion("is_enable is null");
            return (Criteria) this;
        }

        public Criteria andIsEnableIsNotNull() {
            addCriterion("is_enable is not null");
            return (Criteria) this;
        }

        public Criteria andIsEnableEqualTo(Boolean value) {
            addCriterion("is_enable =", value, "isEnable");
            return (Criteria) this;
        }

        public Criteria andIsEnableNotEqualTo(Boolean value) {
            addCriterion("is_enable <>", value, "isEnable");
            return (Criteria) this;
        }

        public Criteria andIsEnableGreaterThan(Boolean value) {
            addCriterion("is_enable >", value, "isEnable");
            return (Criteria) this;
        }

        public Criteria andIsEnableGreaterThanOrEqualTo(Boolean value) {
            addCriterion("is_enable >=", value, "isEnable");
            return (Criteria) this;
        }

        public Criteria andIsEnableLessThan(Boolean value) {
            addCriterion("is_enable <", value, "isEnable");
            return (Criteria) this;
        }

        public Criteria andIsEnableLessThanOrEqualTo(Boolean value) {
            addCriterion("is_enable <=", value, "isEnable");
            return (Criteria) this;
        }

        public Criteria andIsEnableIn(List<Boolean> values) {
            addCriterion("is_enable in", values, "isEnable");
            return (Criteria) this;
        }

        public Criteria andIsEnableNotIn(List<Boolean> values) {
            addCriterion("is_enable not in", values, "isEnable");
            return (Criteria) this;
        }

        public Criteria andIsEnableBetween(Boolean value1, Boolean value2) {
            addCriterion("is_enable between", value1, value2, "isEnable");
            return (Criteria) this;
        }

        public Criteria andIsEnableNotBetween(Boolean value1, Boolean value2) {
            addCriterion("is_enable not between", value1, value2, "isEnable");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("update_time is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("update_time is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("update_time =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("update_time <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("update_time >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("update_time >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("update_time <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("update_time <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("update_time in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("update_time not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("update_time between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("update_time not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}